import { createApp } from "vue";
import { createPinia } from "pinia";
import piniaPlugin from "pinia-plugin-persistedstate"; //pinia数据持久化
import App from "./App.vue";
import router from "./router";
import "./assets/main.css";
// import { draggable } from "./assets/js/drag.js";
// import draggable from "./assets/js/drag1.js";
const app = createApp(App);
// app.directive(`draggable`, draggable);
// 等宽字体
import "vfonts/Lato.css"; // 通用字体
import "vfonts/FiraCode.css"; // 等宽字体
const pinia = createPinia();
pinia.use(piniaPlugin);
app.use(router);
app.use(pinia);
app.mount("#app");
